/*
 * @Author: wangjq4214
 * @Date: 2022-05-06 22:25:42
 * @LastEditTime: 2022-05-06 22:53:53
 * @LastEditors: wangjq4214
 */
export const NODE_STATUS = '/node/status';
export const STORAGE_STATUS = '/storage/status';

export interface StorageStatusRes {
  sum: StorageStatusSum;
  items: StorageStatusItems[];
}

export interface StorageStatusSum {
  total: number;
  today: number;
}

export interface StorageStatusItems {
  item: number;
  count: number;
}

export interface NodeStatusResData {
  item: string;
  ip: string;
  count: string;
}

export interface NodeStatusRes {
  data: NodeStatusResData[];
}
